package com.sh.data.engine.repository.dao.datadev.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import com.sh.data.engine.repository.dao.base.EngineBaseModel;
import lombok.*;

import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
@TableName("tb_datadev_job")
public class DatadevJobEntity extends EngineBaseModel<DatadevJobEntity> {

    private Long nodeId;
    /***
     * 冗余一个字段
     */
    private String nodeName;

    private Integer nodeType;

    private Long projectId;
    /**
     * 任务状态
     *
     * @see com.sh.data.engine.domain.datadev.model.enums.OfflineDevJobStatusEnum
     */
    private Integer status;

    /**
     * 0-手工执行 1-周期执行
     */
    private Integer execType;

    private Date planTime;

    private Date startTime;

    private Date endTime;

    private Integer isSubTask;

    private Long taskFlowJobId;

    private String taskFlowExecInfo;

    /**
     * 1 -已经做了邮件通知 0 -未做邮件通知
     */
    private Integer isAlarmed;

    private String ipAddress;

    private Integer ignored;
}
